package cn.edu.sdjzu.xg23.kcsj01_backend.service.impl;

import cn.edu.sdjzu.xg23.kcsj01_backend.entity.ApprovalDepartment;
import cn.edu.sdjzu.xg23.kcsj01_backend.mapper.ApprovalDepartmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApprovalDepartmentServiceImpl {

    @Autowired
    private ApprovalDepartmentMapper approvalDepartmentMapper;

    public List<ApprovalDepartment> getAllApprovalDepartments() {
        return approvalDepartmentMapper.getAllApprovalDepartments();
    }
}